import { Commit } from "vuex";
interface IPickList {
  id: number;
  yuanjia: number;
  jiage: number;
  istmall: number;
  xiaoliang: number;
  yongjin: number;
  quanNum: number;
  quanOver: number;
  quanJine: number;
  huodongType: number;
  pic: string;
  renqi: number;
  salesNum: string;
  reachPrice: number;
  comment: number;
  marketId: number;
  market_group: number[];
  flagshipStore: number;
  dtitle: string;
}
interface IState {
  pickList: IPickList[];
}

interface IPick {
  state: IState;
  actions: {
    getPickList: (
      { commit }: { commit: Commit },
      { val }: { val: string }
    ) => void;
  };
  mutations: {
    GET_PICK_LIST: (
      state: IState,
      { payload }: { payload: IPickList[] }
    ) => void;
  };
  namespaced: true;
}
export { IPick };
